package com.prs.crm.service.ca.work.impl;

import java.io.Serializable;
import java.util.List;

import com.prs.crm.dao.ca.work.TookDepartmentDao;
import com.prs.crm.domain.ca.work.TookDepartment;
import com.prs.crm.service.ca.work.TookDepartmentService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class TookPartmentServiceImpl extends BaseServiceImpl<TookDepartment, TookDepartmentDao> implements TookDepartmentService{

	@Override
	public TookDepartment getTookDepartmentById(Serializable id) {
		return this.getDao().getTookDepartmentById(id);
	}

	@Override
	public void saveOrTookDepartment(TookDepartment tookDepartment) {
		this.getDao().saveOrTookDepartment(tookDepartment);
	}

	@Override
	public List<TookDepartment> getAllDepartment() {
		return this.getDao().getAllDepartment();
	}

}
